import {
  SystemMessageLogQuery,
  SystemMessageLogFindById,
  SystemMessageLogRead,
  SystemUserMenuZeroCode,
} from "@/services/api";
import { request, METHOD } from "@/utils/request";

/**
 * 列表
 */
export function query(param) {
  return request(SystemMessageLogQuery, METHOD.POST, param);
}
/**
 * 根据Id获取
 */
export function findById(id) {
  return request(SystemMessageLogFindById + "/" + id, METHOD.GET, {});
}

/**
 * 阅读
 */
export function read(param) {
  return request(SystemMessageLogRead, METHOD.POST, param);
}

/**
 *
 */
export function menuZeroCode() {
  return request(SystemUserMenuZeroCode, METHOD.POST, {});
}
export default {
  query,
  findById,
  read,
  menuZeroCode,
};
